package com.feemanage.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.feemanage.domain.SysSnrule;
import org.apache.ibatis.annotations.Param;

public interface SysSnruleMapper extends BaseMapper<SysSnrule> {

    IPage<SysSnrule> selectSnruleList(@Param("page") Page<SysSnrule> page, @Param(Constants.WRAPPER) Wrapper<SysSnrule> wrapper);

    Long selecMaxPrefix(SysSnrule snrule);
}
